package Builder;

import Builder.entity.RabbitMQClient;

/**
 * @author huace
 */
public class BuilderDemo {
    public static void main(String[] args) {
        RabbitMQClient demo = new RabbitMQClient.Builder()
                .setHost("127.0.0.1")
                .setPort(7359)
                .setMode(1)
                .setExchange("exchange")
                .setQueue("queue")
                .build();
        demo.sendMessage("Builder Model");
    }
}
